import { NavLink, Outlet  } from "react-router-dom";
import {Fragment} from 'react'
function Home() {
    return(
        <Fragment>
            <button type="primary"><NavLink to={"/"}> 首页</NavLink></button>
            <button type="ghost"> <NavLink to={"/list"}>列表</NavLink></button>
            <button type="ghost"> <NavLink to={"/person"}>个人中心</NavLink></button>
            <div>
                <Outlet />
            </div>
        </Fragment>
    )

}

export default Home;
